package base

import "github.com/wsw188440873/ctrl-cali/types"

type CaliBase interface {
	ZeroCali(data types.ZeroCali) error                                                       //零气校准
	SpanCali(data types.SpanCali) error                                                       //跨度校准
	CaliTask(pid, taskType, taskName, painType string, param types.GroupTask) (string, error) // 校准任务
	IsRunTask() bool                                                                          // 是否在运行任务
	CancelTask() bool                                                                         // 取消任务
}
